package cn.itcast.searchService;


import cn.itcast.pojo.ItemDoc;
import cn.itcast.pojo.RequestParams;
import com.hmall.common.dto.PageDTO;

import java.util.List;
import java.util.Map;

public interface SearchService{

    PageDTO<ItemDoc> list(RequestParams param);

    Map<String, List<String>> filters(RequestParams param);

    List<String> suggestion(String key);

    void deleteById(Long id);

    void setStatus(long[] arr);

}
